<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:s="http://jboss.com/products/seam/taglib">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title></title>
        <link href="css/screen.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <f:view>
            <div id="document">
                <div id="header">
                    <div id="title"></div>
                </div>
                <div id="sidebar">
                    <h:form id="login">
                        <fieldset>
                            <div>
                                <h:outputLabel id="UsernameLabel" for="username">Login Name</h:outputLabel>
                                <h:inputText id="username" value="#{identity.username}" style="width: 175px;"/>
                                <div class="errors"><h:message id="UsernameMessage" for="username"/></div>
                            </div>
                            <div>
                                <h:outputLabel id="PasswordLabel" for="password">Password</h:outputLabel>
                                <h:inputSecret id="password" value="#{identity.password}" style="width: 175px;"/>
                            </div>
                            <div class="errors"><h:messages id="messages" globalOnly="true"/></div>
                            <div class="buttonBox"><h:commandButton id="login" action="#{identity.quietLogin}" value="Account Login"/></div>
                        </fieldset>
                    </h:form>
                </div>
                <div id="footer"></div>
            </div>
        </f:view>
        <br />
        <h:form>
            <h:commandButton style="font-size:150%;" value="REBUILD THE SEARCH INDEX"
                             action="#{searchReIndex.reindex}"/>
        </h:form>
    </body>
</html>
